<style>
    .thbg{
        background:#E9E9E9;
    }
    table tr th,td{
        height: 45px;
        padding: 5px;
    }
    tbody tr td:nth-child(odd){
        font-weight: 600;
    }
</style>
<div class="row text-center">
    <h3>{$row.name|htmlentities}</h3>
</div>
<table border="1" cellspacing="0" style="border-collapse: collapse;text-align: center;margin:30px auto;width:90%">
    <tbody style="font-size: 14px;" >
        <tr>
            <td colspan="8" style="color: #333333;font-size: 16px;background-color: gray">基本信息</td>
        </tr>
        <tr>
            <td colspan="1">主责部门</td>
            <td colspan="1">{$row.chargedep_names}</td>
            <td colspan="1">协办部门</td>
            <td colspan="1">{$row.assist_names}</td>
            <td colspan="1">分管区领导</td>
            <td colspan="1">{$row.branch_leader_name}</td>
            <td colspan="1">建设地址</td>
            <td colspan="1">{$row.build_address}</td>
        </tr>

        <tr>
            <td colspan="1">项目简介</td>
            <td colspan="7">{$row.summary}</td>
        </tr>

        <tr>
            <td colspan="1">产业类别</td>
            <td colspan="1">{$row.industry_category_name}</td>
            <td colspan="1">产业领域</td>
            <td colspan="1">{$row.industry_realm_name}</td>
           <!--  <td colspan="1">五大产业</td>
            <td colspan="1">{$row.five_industry_name}</td> -->
            <td colspan="1">行业类别</td>
            <td colspan="1">{$row.trade_category_names}</td>
        </tr>

        <tr>
            <td colspan="1">投资类别</td>
            <td colspan="1">{$row.asset_type_name}</td>
            <td colspan="1">总投资(亿元)</td>
            <td colspan="1">{$row.investment_total}</td>
            <td colspan="1">内资(亿元)</td>
            <td colspan="1">{$row.domestic_capital}</td>
            <td colspan="1">外资(万美元)</td>
            <td colspan="1">{$row.foreign_capital}</td>
            
        </tr>

        <tr>
            <td colspan="1">合同外资(万美元)</td>
            <td colspan="1">{$row.whole_capital}</td>
            <td colspan="1">载体面积</td>
            <td colspan="1">{$row.carrier_id_relation}{$row.carrier_id|getRelationValue='carrier_id',###}</td>
            <td colspan="2">项目类别</td>
            <td colspan="2">{$row.project_source_names|formatatrribute}</td>
        </tr>

        <tr>
            <td colspan="1">是否推荐区领导走访</td>
            <td {if $row.is_recommend_arealeader eq '否'} colspan="1" {else} colspan="3" {/if}>{$row.is_recommend_arealeader}</td>

            {if $row.is_recommend_arealeader eq '否'}
            <td colspan="1">理由</td>
            <td colspan="1">{$row.arealeader_reason}</td>
            {/if}

            <td colspan="1">是否推荐市领导走访</td>
            <td {if $row.is_recommend_cityleader eq '否'} colspan="1" {else} colspan="3" {/if}>{$row.is_recommend_cityleader}</td>
            {if $row.is_recommend_cityleader eq '否'}
            <td colspan="1">理由</td>
            <td colspan="1">{$row.cityleader_reason}</td>
            {/if}
        </tr>

    </tbody>

    <tbody style="font-size: 14px;" >
        <tr>
            <td colspan="8" style="color: #333333;font-size: 16px;background-color: gray">投资方信息</td>
        </tr>
        <tr>
            <td colspan="2">投资方名称</td>
            <td colspan="2">投资方国别</td>
            <td colspan="2">投资方地区</td>
            <td colspan="2">投资方性质</td>
        </tr>

        {volist name='investment_list' id='v'}
        <tr>
            <td colspan="2">{$v.investment_name}</td>
            <td colspan="2">{$v.investment_country}</td>
            <td colspan="2">{$v.investment_area}</td>
            <td colspan="2">{$v.investment_attribute_names}</td>
        </tr>
        {/volist}

    </tbody>

    <tbody style="font-size: 14px;" >
        <tr>
            <td colspan="8" style="color: #333333;font-size: 16px;background-color: gray">联系人</td>
        </tr>
        <th colspan="8">    主办单位联系人</th>
        <tr>
            <td>主办单位</td>
            <td>{$row.organizer_depart}</td>
            <td>职务</td>
            <td>{$row.organizer_duty}</td>
            <td>姓名</td>
            <td>{$row.organizer_name}</td>
            <td>联系电话</td>
            <td>{$row.organizer_tel}</td>
        </tr>
        <th colspan="8">    协办单位联系人</th>
        <tr>
            <td colspan="2">协办单位</td>
            <td colspan="2">职务</td>
            <td colspan="2">姓名</td>
            <td colspan="2">联系电话</td>
        </tr>
        {volist name='contact_list' id='v1'}
        <tr>
            <td colspan="2">{$v1.assist_name}</td>
            <td colspan="2">{$v1.assist_duty}</td>
            <td colspan="2">{$v1.assist_nickname}</td>
            <td colspan="2">{$v1.assist_tel}</td>
        </tr>
        {/volist}

        <th colspan="8" >    招商促进中心联系人</th>
        <tr>
            <td>科室</td>
            <td colspan="2">{$row.socialized_department}</td>
            <td>姓名</td>
            <td>{$row.socialized_name}</td>
            <td>联系电话</td>
            <td colspan="2">{$row.socialized_tel}</td>
        </tr>

    </tbody>

</table>

{if $plan_list}
<div class="panel panel-success" style="border-collapse: collapse;text-align: center;margin:30px auto;width:90%">
    <div class="panel-heading">
        <h3 class="panel-title">项目推进计划</h3>
    </div>
    <table class="table table-bordered text-center">
        <tr>
            <th>项目阶段</th>
            <th>计划时间</th>
            <th>备注</th>
        </tr>

        {volist name='plan_list' id='vo'}
        <tr>
        <td class="text-center" style="width: 35%">{$vo.plan_status_text}</td>
        <td class="text-center" style="width: 20%">{$vo.plan_time_text}</td>
        <td class="text-center" style="width: 30%">{$vo.memo}</td>
        </tr>
        {/volist}

    </table>
</div>
{/if}

{if $stage_list}
<div class="panel panel-success" style="border-collapse: collapse;text-align: center;margin:30px auto;width:90%">
    <div class="panel-heading">
        <h3 class="panel-title">项目阶段</h3>
    </div>
    <table class="table table-bordered text-center">
        <tr>
            <th>项目阶段</th>
            <th>阶段时间</th>
            <th>详情</th>
            <th>项目当前阶段</th>
            <th>填报人</th>
            <th>更新时间</th>
        </tr>

        {volist name='stage_list' id='vv'}
        <tr>
        <td class="text-center" style="width: 20%">{$vv.project_stage_name}</td>
        <td class="text-center" style="width: 10%">{$vv.project_stage_time_text}</td>
        <td class="text-center" style="width: 30%">{$vv.detail}</td>
        <td class="text-center" style="width: 20%">{$vv.progress_status_name}</td>
        <td class="text-center" style="width: 8%">{$vv.report_name}</td>
        <td class="text-center" style="width: 30%">{$vv.update_time_text}</td>
        </tr>
        {/volist}

    </table>
</div>
{/if}

{if $progress_list}
<div class="panel panel-success" style="border-collapse: collapse;text-align: center;margin:30px auto;width:90%">
    <div class="panel-heading">
        <h3 class="panel-title">项目推进详情</h3>
    </div>
    <table class="table table-bordered text-center">
        <tr>
            <th>进展情况</th>
            <th>存在问题</th>
            <th>下步计划</th>
            <th>填报人</th>
            <th>更新时间</th>
        </tr>
        {volist name='progress_list' id='vvo'}
        <tr>
        <td class="text-center" style="width: 35%">{$vvo.content}</td>
        <td class="text-center" style="width: 20%">{$vvo.problem}</td>
        <td class="text-center" style="width: 30%">{$vvo.next_measure}</td>
        <td class="text-center">{$vvo.report_name}</td>
        <td class="text-center">{$vvo.progress_time_text}</td>
        </tr>
        {/volist}
    </table>
</div>
{/if}

{if $central_list}
<div class="panel panel-success" style="border-collapse: collapse;text-align: center;margin:40px auto;width:90%">
    <div class="panel-heading">
        <h3 class="panel-title">接洽记录</h3>
    </div>
    <table class="table table-bordered text-center">
        <tr>
            <th>姓名</th>
            <th>接洽时间</th>
            <th>接洽类别</th>
            <th>接洽地点</th>
            <th>会谈内容</th>
            <th>参加单位</th>
            <th>主责单位</th>
            <th>中心陪同科室</th>
            <th>中心陪同人员</th>
        </tr>
        {volist name='central_list' id='vvb'}
        <tr>
            <td class="text-center">{$vvb.leader_names}</td>
            <td class="text-center">{$vvb.receive_time_desc}</td>
            <td class="text-center">{$vvb.contact_typename}</td>
            <td class="text-center">{$vvb.contact_city}</td>
            <td class="text-center" title="{$vvb.content}">
                {if strlen($vvb.content)>30}
                {$vvb.content|mb_substr=###,0,30,'utf-8'}...
                {else}
                {$vvb.content}
                {/if}
            </td>
            <td class="text-center">{$vvb.join_depart_names}</td>
            <td class="text-center">{$vvb.chargedep_names}</td>
            <td class="text-center">{$vvb.centraloffice_name}</td>
            <td class="text-center">{$vvb.contact_name}</td>
        </tr>
        {/volist}
    </table>
</div>
{/if}